From c5df471dc7ee10cb98e50d37312d855f697624f9 Mon Sep 17 00:00:00 2001 From: Alex Williamson Date: Thu, 7 Feb 2008 09:19:53 -0700 Subject: [PATCH] [IA64] Fix live migration In live migration, a domain is paused and *entire* memory is copied after pre-copy phase. (i.e. live migration is not live) Signed-off-by: Kouya Shimura --- tools/libxc/ia64/xc_ia64_linux_save.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/libxc/ia64/xc_ia64_linux_save.c b/tools/libxc/ia64/xc_ia64_linux_save.c index 0430a5173a..8489d4bfc3 100644 --- a/tools/libxc/ia64/xc_ia64_linux_save.c +++ b/tools/libxc/ia64/xc_ia64_linux_save.c @@ -652,6 +652,9 @@ xc_domain_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters, skip_this_iter++; if (test_bit(N, to_skip) || !test_bit(N, to_send)) continue; + } else if (live) { + if (!test_bit(N, to_send)) + continue; } if (debug) -- 2.30.2